package cn.youqu.happy.module.youqu.enums.userBalck;

import cn.youqu.happy.framework.common.core.IntArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;

@AllArgsConstructor
@Getter
public enum UserBlackTypeEnum implements IntArrayValuable {
    ALL(0, "所有都不可以"),
    CAN_NOT_SEE_MY_TELL(1, "不可看我的说说"),
    CAN_NOT_SEE_MY_ACTIVITY(2, "不可以看到我组队活动"),

    ;
    private final Integer type;
    private final String msg;
    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(UserBlackTypeEnum::getType).toArray();

    @Override
    public int[] array() {
        return ARRAYS;
    }
}
